<%--
  Created by IntelliJ IDEA.
  User: wd
  Date: 2020/4/29
  Time: 12:00
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags"%>
<%@ include file="/pages/taglib.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <title>鸽子养殖管理系统</title>
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">

    <link rel="stylesheet" href="${ctx }/css/user_test.css">
    <link rel="stylesheet" href="${ctx }/common/layui/css/layui.css" media="all">

    <script type="text/javascript" src="${ctx }/common/layui/layui.js"></script>
    <script>
        var ctx = "${ctx}";
    </script>
</head>

<body>
<!-- 工具条 -->
<script type="text/html" id="barDemo">
    <%--<shiro:hasPermission name="stu:update">
        <a class="layui-btn layui-btn-xs" lay-event="detail">查看</a>
    </shiro:hasPermission>--%>
    <%--<shiro:hasPermission name="stu:update">--%>
        <a class="layui-btn  layui-btn-sm" lay-event="edit">编辑</a>
    <%--</shiro:hasPermission>--%>
    <%--<shiro:hasPermission name="stu:delete">--%>
        <a class="layui-btn layui-btn-danger  layui-btn-sm" lay-event="del">删除</a>
    <%--</shiro:hasPermission>--%>
</script>
<div class="top_tool">
    <div class="layui-form-item layui-input-inline">
        <label class="layui-form-label" style="">成本名称：</label>
        <div class="layui-input-inline">
            <input type="text" name="costName" id="costName" required  lay-verify="required" placeholder="请输入成本名称" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item layui-input-inline">
        <label class="layui-form-label" style="">购买人：</label>
        <div class="layui-input-inline">
            <input type="text" name="buyer" id="buyer" required  lay-verify="required" placeholder="请输入购买人" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item layui-input-inline">
        <label class="layui-form-label">开始时间</label>
        <div class="layui-input-inline">
            <input type="text" id="starttime" name="starttime" placeholder="yyyy-MM-dd" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item layui-input-inline">
        <label class="layui-form-label">结束时间</label>
        <div class="layui-input-inline">
            <input type="text" id="endtime" name="endtime" placeholder="yyyy-MM-dd" autocomplete="off" class="layui-input">
        </div>
    </div>
</div>
 <div class="top_tool">
<button class="layui-btn btn_extend" style="margin-left: 20px" data-type="reload" id="search-button">
    <i class="layui-icon">&#xe615;</i> 搜索
</button>
<%--<shiro:hasPermission name="stu:add">--%>
<!-- 新增按钮 -->
<button class="layui-btn btn_extend" type="button" id="add">
    <i class="layui-icon">&#xe608;</i> 添加
</button>
 </div>
<%--</shiro:hasPermission>--%>
<!-- 表格 -->
<table id="demo" lay-filter="test"></table>

<script type="text/javascript" src="${ctx }/js/pigeons/costControl.js"></script>
</body>
</html>
